package com.codes.service.impl;

import com.codes.dao.RolePermissionMapper;
import com.codes.model.RolePermission;
import com.codes.service.RolePermissionSV;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Date 2020/6/18 16:18
 * @Created by peanut
 */
@Service
public class RolePermissionImpl implements RolePermissionSV {

    @Autowired
    private RolePermissionMapper rolePermissionMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(RolePermission record) {
        return 0;
    }

    @Override
    public int insertSelective(Map map) {
        return rolePermissionMapper.insertSelective(map);
    }

    @Override
    public RolePermission selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(RolePermission record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(RolePermission record) {
        return 0;
    }
}